package com.bainaeco.framework.exception;

import com.bainaeco.framework.base.exception.BaseException;
import com.bainaeco.framework.util.SQLErrorCode;

public class PrimaryKeyIndexException extends BaseException{
	
	private static final long serialVersionUID = 1L;

	public PrimaryKeyIndexException(Object... args) {
		super(args);
	}

	public PrimaryKeyIndexException(String message, Throwable cause, Object... args) {
		super(message, cause, args);
	}

	public PrimaryKeyIndexException(String message, Object... args) {
		super(message, args);
	}

	public PrimaryKeyIndexException(Throwable cause, Object... args) {
		super(cause, args);
	}
	
	@Override
	public int getErrorCode() {
		return SQLErrorCode.PRIMARY_KEY_INDEX;
	}
}
